/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.raflik.queryxml.ui.tasks.io;

import pl.raflik.queryxml.ui.tasks.*;
import org.openide.filesystems.FileObject;

/**
 *
 * @author raflik
 */
public class RunQueryOutput extends CommonQueryOutput {

    private String query;
    private FileObject fileObject;

    public RunQueryOutput(QueryResultCode result, String query, FileObject fileObject) {
        super(result);
        this.query = query;
        this.fileObject = fileObject;
    }

    public RunQueryOutput(QueryResultCode result) {
        super(result);
    }

    public String getQuery() {
        return query;
    }

    public FileObject getFileObject() {
        return fileObject;
    }

}
